<?php

use yii\helpers\Html;

/* @var $this yii\web\View */
/* @var $model app\models\Patient */

$this->title = '修改 患者预约单: ' . $model->name;
$this->params['breadcrumbs'][] = ['label' => '患者预约列表', 'url' => ['index']];
$this->params['breadcrumbs'][] = ['label' => $model->name, 'url' => ['view', 'id' => $model->id]];
$this->params['breadcrumbs'][] = '修改';
?>
<div class="patient-update">

    <h1 style="text-align: center;"><?= Html::encode($this->title) ?></h1>

    <?= $this->render('_form', [
        'model' => $model,
        'comeway_array' => $comeway_array,
        'communication_array' => $communication_array,
        'department_array' => $department_array,
        'workgroup_array' => $workgroup_array,
        'address_array' => $address_array,
        'user_array' => $user_array
    ]) ?>

</div>